package org.jeecg.modules.pipe.service.impl;

import org.jeecg.modules.pipe.entity.PumpStation;
import org.jeecg.modules.pipe.mapper.PumpStationMapper;
import org.jeecg.modules.pipe.service.IPumpStationService;
import org.jeecg.modules.pipe.vo.PipeMarkerVo;
import org.jeecg.modules.pipe.vo.PipeQueryVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import java.util.List;

/**
 * @Description: 泵站
 * @Author: jeecg-boot
 * @Date:   2024-05-14
 * @Version: V1.0
 */
@Service
public class PumpStationServiceImpl extends ServiceImpl<PumpStationMapper, PumpStation> implements IPumpStationService {

    @Autowired
    private PumpStationMapper pumpStationMapper;

    /**
     * 获取泵站marker
     * @param queryVo
     * @return
     */
    @Override
    public List<PipeMarkerVo> getPumpStationMarker(PipeQueryVo queryVo) {
        return pumpStationMapper.getPumpStationMarker(queryVo);
    }
}
